﻿<%@ Page Title="" Language="C#" MasterPageFile="~/APP_Master/MasterPage_Personal.master" AutoEventWireup="true" CodeFile="per_my_d.aspx.cs" Inherits="per_documentary_me" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <!--Right-->
    <script type="text/javascript" src="js/jquery-1.8.0.min.js"></script>
    <script type="text/javascript" src="js/layer/layer.js"></script>
    <script type="text/javascript">
        function openNew() {
            layer.open({
                type: 2,
                title: '双色球 我的定制',
                shadeClose: true,
                shade: 0.8,
                area: ['510px', '90%'],
                content: 'per_doc_tanchu.aspx' //iframe的url
            });
        }
    </script>
    <script type="text/javascript">
        function openMe() {
            layer.open({
                type: 2,
                title: '双色球 定制我的',
                shadeClose: true,
                shade: 0.8,
                area: ['510px', '90%'],
                content: 'per_me_tanchu.aspx' //iframe的url
            });
        }
    </script>
    <div class="per_bg_white_right">
        <script type="text/javascript">
            $(document).ready(function () {
                jQuery.jqtab = function (tabtit, tab_conbox, shijian) {
                    $(tab_conbox).find("li").hide();
                    $(tabtit).find("li:first").addClass("thistab").show();
                    $(tab_conbox).find("li:first").show();

                    $(tabtit).find("li").bind(shijian, function () {
                        $(this).addClass("thistab").siblings("li").removeClass("thistab");
                        var activeindex = $(tabtit).find("li").index(this);
                        $(tab_conbox).children().eq(activeindex).show().siblings().hide();
                        return false;
                    });

                };
                /*调用方法如下：*/
                $.jqtab("#tabs", "#tab_conbox", "click");

                $.jqtab("#tabs2", "#tab_conbox2", "mouseenter");

            });
        </script>
        <div id="tabbox">
            <ul class="tabs">
                <li <%if (m == 1)
                    {%> class="thistab" <%} %>><a href="per_my_d.aspx?n=4&m=1">我定制的</a></li>
                <li <%if (m == 2)
                    {%> class="thistab" <%} %>><a href="per_documentary_me.aspx?n=4&m=2">定制我的</a></li>
                <li <%if (m == 3)
                    {%> class="thistab" <%} %>><a href="per_zd_d.aspx?n=4&m=3">自动跟单记录</a></li>
            </ul>
            <ul class="tab_conbox" id="tab_conbox">
                <li class="tab_con">

                    <div class="per_record_t_box">
                        <dl class="select03">
                            <asp:DropDownList ID="timesl" runat="server" AutoPostBack="true"
                                OnSelectedIndexChanged="timesl_SelectedIndexChanged">
                                <asp:ListItem Value="5">全部</asp:ListItem>
                                <asp:ListItem Value="0">今天</asp:ListItem>
                                <asp:ListItem Value="1">近一周</asp:ListItem>
                                <asp:ListItem Value="2">近一个月</asp:ListItem>
                                <asp:ListItem Value="3">近三个月</asp:ListItem>
                                <asp:ListItem Value="4">近六个月</asp:ListItem>
                            </asp:DropDownList>
                        </dl>
                        <dl class="select03">
                            <asp:DropDownList ID="typeslddl" runat="server" AutoPostBack="true"
                                OnSelectedIndexChanged="typeslddl_SelectedIndexChanged">
                                <asp:ListItem Value="0">全部彩种</asp:ListItem>
                                <asp:ListItem Value="1">双色球</asp:ListItem>
                                <asp:ListItem Value="2">大乐透</asp:ListItem>
                                <asp:ListItem Value="3">排列三</asp:ListItem>
                                <asp:ListItem Value="4">排列五</asp:ListItem>
                                <asp:ListItem Value="5">福彩3D</asp:ListItem>
                                <asp:ListItem Value="6">七星彩</asp:ListItem>
                                <asp:ListItem Value="7">七乐彩</asp:ListItem>
                            </asp:DropDownList>
                        </dl>
                        <div class="per_record_t">
                            <%--<asp:CheckBox ID="CheckBox1" runat="server" />
            &nbsp;&nbsp;正在跟单--%>
                        </div>
                    </div>
                    <dl class="per_doc_ul_t">
                        <dd>彩种|时间</dd>
                        <dd>发起人</dd>
                        <dd>跟单方式</dd>
                        <dd>每次认购</dd>
                        <dd>当前进度</dd>
                        <dd>跟单总金额</dd>
                        <dd>状态 | 操作</dd>
                        <dd>详情</dd>
                    </dl>
                    <%if (lottery != null)
                        {
                            foreach (Model.LotteryChipped lott in lottery)
                            {%>
                    <dl class="per_doc_ul">
                        <dd>
                            <p class="Scolor">
                                <%=lott.LotteryType != 0 ? (lott.LotteryType == 1 ? "双色球" : (lott.LotteryType == 2 ? "大乐透" : (lott.LotteryType == 3 ? "排列三"
                                                                                                      : (lott.LotteryType == 4 ? "排列五" : (lott.LotteryType == 5 ? "福彩3D" : (lott.LotteryType == 6 ? "七星彩"
                                                                 : (lott.LotteryType == 7 ? "七乐彩" : ""))))))) : "无"%>
                            </p>
                            <p class="Qcolor"><%=lott.AddTime.ToString("MM-dd hh:mm")%></p>
                        </dd>
                        <dd>
                            <p class="Nblue"><%=select(lott.UserID) %></p>
                        </dd>
                        <dd><span>预付扣款</span><p class="Qcolor">每期跟<%=getInfo(lott.UserID, lott.id)==null?0:getInfo(lott.UserID, lott.id).GDCS%>个</p>
                        </dd>
                        <dd>
                            <p class="rengou"><%=getInfo(lott.UserID, lott.id)== null?0:getInfo(lott.UserID, lott.id).MySub%>元</p>
                        </dd>
                        <dd><b>完成：</b><font><%=lott.LotteryJD%> %</font></dd>
                        <dd>
                            <p class="rengou"><%=lott.LotteryMoney %>元</p>
                        </dd>
                        <dd>
                            <p class="rengou"><%=lott.LotteryYE>0?"正在进行中":"已结束" %></p>
                            <%--<h2><a href="">继续跟单</a></h2>--%></dd>
                        <dd><a href="view_scheme.aspx?lotteryid=<%=lott.id%>" class="p_doc_link">查看</a></dd>
                    </dl>
                    <%}
                    }
                    else
                    { %>
                    <ul class="per_integral_con_ul">

                        <div style="text-align: center">暂无记录</div>
                    </ul>
                    <%}%>
                    <!--Pages-->
                    <div class="sabrosus">
                        <webdiyer:AspNetPager SubmitButtonClass="buttons" ID="AspNetPager1"
                            runat="server" AlwaysShow="True" FirstPageText="首页"
                            NextPageText="下一页" PrevPageText="前一页" LastPageText="尾页" PageSize="10"
                            OnPageChanged="AspNetPager1_PageChanged">
                        </webdiyer:AspNetPager>
                    </div>
                    <!--Pages-->
                    <div class="per_r_infor per_noborder">
                        <h3>购彩记录-注意事项：</h3>
                        <p>历史记录指当年近一个月之前的所有购彩记录（不包含近一个月的投注记录）</p>
                        <p>如订单已显示奖金，但彩票账户实际未派发奖金，请耐心等待，系统正在与彩票中心核算奖金，预计30分钟左右派发到您的彩票账户；</p>
                    </div>
                </li>

                <li class="tab_con">

                    <dl class="per_me_ul_t">
                        <dd>彩种</dd>
                        <dd>累计中奖金额</dd>
                        <dd>定制人数</dd>
                        <dd>最后定制时间</dd>
                        <dd>详情</dd>
                    </dl>
                    <dl class="per_me_ul">
                        <dd>
                            <p class="p_m_n">大乐透</p>
                        </dd>
                        <dd>
                            <p class="p_pp"><em>15905.00</em> 元</p>
                        </dd>
                        <dd>
                            <p class="Scolor">0 / 1000人</p>
                        </dd>
                        <dd>
                            <p class="Scolor">07-21 00:20</p>
                        </dd>
                        <dd><a href="javascript:;" class="p_doc_link" onclick="openMe()">查看</a></dd>
                    </dl>
                    <!--Pages-->
                    <div class="sabrosus">
                        <span class="disabled">共有136条记录，共有14页 </span>
                        <span class="current">首页</span>
                        <a href="#?page=2">上一页 </a>
                        <a href="#?page=3">1</a>
                        <a href="#?page=4">2</a>
                        <a href="#?page=8">3</a>
                        <a href="#?page=8">下一页</a>
                        <a href="#?page=8">尾页</a>
                        <a href="#?page=8">1/3页</a>
                        跳转至<asp:TextBox ID="TextBox2" runat="server" CssClass="p_input"></asp:TextBox>
                        页
        <asp:Button ID="Button2" runat="server" Text="确定" CssClass="pages_btn" />
                    </div>
                    <!--Pages-->
                </li>

                <li class="tab_con">
                    <div class="per_record_t_box">
                        <dl class="select03">
                            <dt>最近一个月</dt>
                            <dd>
                                <div>
                                    <p><a href="javascript:void(0)">中国工商银行</a></p>
                                    <p><a href="javascript:void(0)">中国招商银行</a></p>
                                    <p><a href="javascript:void(0)">中国农业银行</a></p>
                                    <p><a href="javascript:void(0)">中国广发银行</a></p>
                                    <p><a href="javascript:void(0)">中国浦发银行</a></p>
                                    <p><a href="javascript:void(0)">中国中信银行</a></p>
                                </div>
                            </dd>
                        </dl>
                        <dl class="select03">
                            <dt>全部彩种</dt>
                            <dd>
                                <div>
                                    <p><a href="javascript:void(0)">中国工商银行</a></p>
                                    <p><a href="javascript:void(0)">中国招商银行</a></p>
                                    <p><a href="javascript:void(0)">中国农业银行</a></p>
                                    <p><a href="javascript:void(0)">中国广发银行</a></p>
                                    <p><a href="javascript:void(0)">中国浦发银行</a></p>
                                    <p><a href="javascript:void(0)">中国中信银行</a></p>
                                </div>
                            </dd>
                        </dl>
                        <div class="per_record_t">
                            <asp:CheckBox ID="CheckBox2" runat="server" />
                            &nbsp;&nbsp;已中奖
                        </div>
                        <div class="per_record_t">
                            <asp:CheckBox ID="CheckBox3" runat="server" />
                            &nbsp;&nbsp;未开奖
                        </div>
                    </div>
                    <dl class="per_doc_ul_t">
                        <dd>彩种|时间</dd>
                        <dd>发起人</dd>
                        <dd>期次</dd>
                        <dd>方案金额</dd>
                        <dd>跟单金额</dd>
                        <dd>出票状态</dd>
                        <dd>我的奖金</dd>
                        <dd>详情</dd>
                    </dl>
                    <dl class="per_doc_ul">
                        <dd>
                            <p class="Scolor">双色球</p>
                            <p class="Qcolor">08-25 10:51</p>
                        </dd>
                        <dd>
                            <p class="Nblue">晓雨依依</p>
                        </dd>
                        <dd>
                            <p class="rengou">2015013期</p>
                        </dd>
                        <dd>
                            <p class="rengou">140元</p>
                        </dd>
                        <dd>
                            <p class="rengou">50元</p>
                        </dd>
                        <dd><span>出票成功</span><p class="Qcolor">已满员</p>
                        </dd>
                        <dd>
                            <p class="Scolor">已派奖</p>
                            <h2><em>3.57</em>元</h2>
                        </dd>
                        <dd><a href="javascript:;" class="p_doc_link">查看</a></dd>
                    </dl>
                    <dl class="per_doc_ul">
                        <dd>
                            <p class="Scolor">双色球</p>
                            <p class="Qcolor">08-25 10:51</p>
                        </dd>
                        <dd>
                            <p class="Nblue">晓雨依依</p>
                        </dd>
                        <dd>
                            <p class="rengou">2015013期</p>
                        </dd>
                        <dd>
                            <p class="rengou">140元</p>
                        </dd>
                        <dd>
                            <p class="rengou">50元</p>
                        </dd>
                        <dd><span>出票成功</span><p class="Qcolor">已满员</p>
                        </dd>
                        <dd>
                            <p class="color555">未中奖</p>
                        </dd>
                        <dd><a href="javascript:;" class="p_doc_link">查看</a></dd>
                    </dl>
                    <dl class="per_doc_ul">
                        <dd>
                            <p class="Scolor">双色球</p>
                            <p class="Qcolor">08-25 10:51</p>
                        </dd>
                        <dd>
                            <p class="Nblue">晓雨依依</p>
                        </dd>
                        <dd>
                            <p class="rengou">2015013期</p>
                        </dd>
                        <dd>
                            <p class="rengou">140元</p>
                        </dd>
                        <dd>
                            <p class="rengou">50元</p>
                        </dd>
                        <dd><span>出票成功</span><p class="Qcolor">已满员</p>
                        </dd>
                        <dd>
                            <p class="color555">未中奖</p>
                        </dd>
                        <dd><a href="javascript:;" class="p_doc_link">查看</a></dd>
                    </dl>
                    <dl class="per_doc_ul">
                        <dd>
                            <p class="Scolor">双色球</p>
                            <p class="Qcolor">08-25 10:51</p>
                        </dd>
                        <dd>
                            <p class="Nblue">晓雨依依</p>
                        </dd>
                        <dd>
                            <p class="rengou">2015013期</p>
                        </dd>
                        <dd>
                            <p class="rengou">140元</p>
                        </dd>
                        <dd>
                            <p class="rengou">50元</p>
                        </dd>
                        <dd><span>出票成功</span><p class="Qcolor">已满员</p>
                        </dd>
                        <dd>
                            <p class="color555">未中奖</p>
                        </dd>
                        <dd><a href="javascript:;" class="p_doc_link">查看</a></dd>
                    </dl>
                    <dl class="per_doc_ul">
                        <dd>
                            <p class="Scolor">双色球</p>
                            <p class="Qcolor">08-25 10:51</p>
                        </dd>
                        <dd>
                            <p class="Nblue">晓雨依依</p>
                        </dd>
                        <dd>
                            <p class="rengou">2015013期</p>
                        </dd>
                        <dd>
                            <p class="rengou">140元</p>
                        </dd>
                        <dd>
                            <p class="rengou">50元</p>
                        </dd>
                        <dd><span>出票成功</span><p class="Qcolor">已满员</p>
                        </dd>
                        <dd>
                            <p class="Scolor">已派奖</p>
                            <h2><em>3.57</em>元</h2>
                        </dd>
                        <dd><a href="javascript:;" class="p_doc_link">查看</a></dd>
                    </dl>
                    <dl class="per_doc_ul">
                        <dd>
                            <p class="Scolor">双色球</p>
                            <p class="Qcolor">08-25 10:51</p>
                        </dd>
                        <dd>
                            <p class="Nblue">晓雨依依</p>
                        </dd>
                        <dd>
                            <p class="rengou">2015013期</p>
                        </dd>
                        <dd>
                            <p class="rengou">140元</p>
                        </dd>
                        <dd>
                            <p class="rengou">50元</p>
                        </dd>
                        <dd><span>出票成功</span><p class="Qcolor">已满员</p>
                        </dd>
                        <dd>
                            <p class="color555">未中奖</p>
                        </dd>
                        <dd><a href="javascript:;" class="p_doc_link">查看</a></dd>
                    </dl>
                    <dl class="per_doc_ul">
                        <dd>
                            <p class="Scolor">双色球</p>
                            <p class="Qcolor">08-25 10:51</p>
                        </dd>
                        <dd>
                            <p class="Nblue">晓雨依依</p>
                        </dd>
                        <dd>
                            <p class="rengou">2015013期</p>
                        </dd>
                        <dd>
                            <p class="rengou">140元</p>
                        </dd>
                        <dd>
                            <p class="rengou">50元</p>
                        </dd>
                        <dd><span>出票成功</span><p class="Qcolor">已满员</p>
                        </dd>
                        <dd>
                            <p class="color555">未中奖</p>
                        </dd>
                        <dd><a href="javascript:;" class="p_doc_link">查看</a></dd>
                    </dl>
                    <dl class="per_doc_ul">
                        <dd>
                            <p class="Scolor">双色球</p>
                            <p class="Qcolor">08-25 10:51</p>
                        </dd>
                        <dd>
                            <p class="Nblue">晓雨依依</p>
                        </dd>
                        <dd>
                            <p class="rengou">2015013期</p>
                        </dd>
                        <dd>
                            <p class="rengou">140元</p>
                        </dd>
                        <dd>
                            <p class="rengou">50元</p>
                        </dd>
                        <dd><span>出票成功</span><p class="Qcolor">已满员</p>
                        </dd>
                        <dd>
                            <p class="color555">未中奖</p>
                        </dd>
                        <dd><a href="javascript:;" class="p_doc_link">查看</a></dd>
                    </dl>
                    <dl class="per_doc_ul">
                        <dd>
                            <p class="Scolor">双色球</p>
                            <p class="Qcolor">08-25 10:51</p>
                        </dd>
                        <dd>
                            <p class="Nblue">晓雨依依</p>
                        </dd>
                        <dd>
                            <p class="rengou">2015013期</p>
                        </dd>
                        <dd>
                            <p class="rengou">140元</p>
                        </dd>
                        <dd>
                            <p class="rengou">50元</p>
                        </dd>
                        <dd><span>出票成功</span><p class="Qcolor">已满员</p>
                        </dd>
                        <dd>
                            <p class="Scolor">已派奖</p>
                            <h2><em>3.57</em>元</h2>
                        </dd>
                        <dd><a href="javascript:;" class="p_doc_link">查看</a></dd>
                    </dl>
                    <dl class="per_doc_ul">
                        <dd>
                            <p class="Scolor">双色球</p>
                            <p class="Qcolor">08-25 10:51</p>
                        </dd>
                        <dd>
                            <p class="Nblue">晓雨依依</p>
                        </dd>
                        <dd>
                            <p class="rengou">2015013期</p>
                        </dd>
                        <dd>
                            <p class="rengou">140元</p>
                        </dd>
                        <dd>
                            <p class="rengou">50元</p>
                        </dd>
                        <dd><span>出票成功</span><p class="Qcolor">已满员</p>
                        </dd>
                        <dd>
                            <p class="color555">未中奖</p>
                        </dd>
                        <dd><a href="javascript:;" class="p_doc_link">查看</a></dd>
                    </dl>
                    <!--Pages-->
                    <div class="sabrosus">
                        <span class="disabled">共有136条记录，共有14页 </span>
                        <span class="current">首页</span>
                        <a href="#?page=2">上一页 </a>
                        <a href="#?page=3">1</a>
                        <a href="#?page=4">2</a>
                        <a href="#?page=8">3</a>
                        <a href="#?page=8">下一页</a>
                        <a href="#?page=8">尾页</a>
                        <a href="#?page=8">1/3页</a>
                        跳转至<asp:TextBox ID="TextBox3" runat="server" CssClass="p_input"></asp:TextBox>
                        页
        <asp:Button ID="Button3" runat="server" Text="确定" CssClass="pages_btn" />
                    </div>
                    <!--Pages-->
                </li>
            </ul>
        </div>
    </div>
    <!--Right-->
    </div>
    <!--Content-->
</asp:Content>

